Address
public final static Address Address(String countryCode, String streetAddress, String city, String state, String zipCode, String dependentLocality)
public final static Address Address(String countryCode, String streetAddress, String city, String state, String zipCode, String dependentLocality)
Creates a new instance of Address with the given parameters.
Since
8.0.0
Parameters
countryCode
The 2-letter country code.
streetAddress
The full street address.
city
The name of the city.
state
The name of the state.
zipCode
The zip code.
dependentLocality
A subdivision of a city, e.g., an inner-city district or a suburb.
Throws
if the length of countryCode is not two.